<template>
  <div class="home">
    <div v-for="item in list" @click="show">
      <div style="width:100vw;height:30vw;">{{item}}</div>
    </div>
  </div>
</template>

<script>
  export default {
    name: '',
    data() {
      return {
        list: []
      }
    },
    async created() {
      // const res = await http.get('/api/v1/topics/')
    },
    mounted() {
      console.log('刷新了？')
      this.list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    },
    components: {},
    props: [],
    computed: {},
    methods: {
      show() {
        console.log(this.$router)
        location.assign('../customer/home.html')
      }
    }
  }
</script>

<style lang='less' scoped>

</style>